package com.hotel.service;

import com.hotel.entity.Orders;

import java.util.List;

/**
 * @author 夏智力
 * @FileName OrderService
 * @date 2021/6/22 10:41
 * @Software: IntelliJ IDEA
 */
public interface OrdersService {

    List<Orders> selectOrderByUserId(int userId);

    List<Orders> selectOrderByPhone(String phone, String startTime);

    int addOrder(Orders order);

    int updatePayStatus(int id, int payStatus);

    int updatePayStatusByOrder(String orderNo, int payStatus);

}
